#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Models.Marketmodels;
namespace Cephei.QL.Models.Marketmodels.Products
{
     // <summary> 
	// ! Instances of this class build a single market-model product by composing two or more subproducts.  \pre All subproducts must have the same rate times.
	// </summary>
    [Guid ("A06BD180-FAA8-46ce-A1D3-DDD3AC4D3C3F"),ComVisible(true)]
	public interface ISingleProductComposite : Cephei.QL.Models.Marketmodels.Products.IMarketModelComposite
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Boolean NextTimeStep(Cephei.QL.Models.Marketmodels.ICurveState currentState, Cephei.IVector<UInt64> numberCashFlowsThisStep, Cephei.IMatrix<Cephei.QL.Models.Marketmodels.IMarketModelMultiProductCashFlow> cashFlowsGenerated);
        
		 UInt64 MaxNumberOfCashFlowsPerProductPerStep {get;}
        
		 UInt64 NumberOfProducts {get;}
    }

    // <summary> 
	// ! Instances of this class build a single market-model product by composing two or more subproducts.  \pre All subproducts must have the same rate times. Factory
	// </summary>
   	[ComVisible(true)]
    public interface ISingleProductComposite_Factory // : Collection_Factory<ISingleProductComposite, ICell<ISingleProductComposite>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
    }
}

